import routeIgnore from './route.ignore.js'
import webapiIgnore from './webapi.ignore.js'

const base = {
  host : `http://10.1.40.152/`,
  withCredentials: true
}

const router = {
  _defaults: {
    mode: 'hash'
  },
  ignore: routeIgnore
}

const webapi = {
  _defaults: {
    baseURL: base.host,
    withCredentials: base.withCredentials
  },
  ignore: webapiIgnore
}

const conf = {
  base,
  router,
  webapi
}

export default conf
